<div id="bingkaiforumatas"> 
	<div id="bingkiri">
		<div id="alamat2">Profile:</div>
		<h1 class="heading1"><?php echo $this->session->userdata('nama'); ?></h1>
		<div id="alamat">Edit Biodata</div>
	</div>
	<div class="clear"></div>
</div>
<div id="bingkaiforum">
	<div id="puma">
            <?php
                echo $this->load->view("portal/biodata_nav");
            ?>
	</div>
	<div class="clear"></div>
	<div>
			<img id="b3" src="<?php echo $this->session->userdata('foto'); ?>">
                        <?php echo form_open('portal/profile_con/update_biodata') ?>
			<table width="" border="0" cellpadding="0" cellspacing="0" id="b5">
				<tr>
					<td><label class="tok">No Telepon</label>
					<input type="text"  class="huh hoh" value="<?php $this->users->print_data($biodata['NO_TELP']);?>" name="no_telp"/>
					</td>
				</tr>
				<tr>
					<td><label class="tok">Email</label>
					<input type="text"  class="huh hoh" value="<?php $this->users->print_data($biodata['EMAIL']); ?>"  name="email"/>
					</td>
				</tr>
				<tr>
					<td>				
					<label class="tok">Jenis Kelamin</label>
					<input type="radio" name="jenis_kelamin" value="pria" id="sex1" <?php if (strcmp($biodata['JENIS_KELAMIN'], "pria") == 0) echo "checked" ?>/> 
					<label for="sex1" > Laki-Laki </label>
					<input type="radio" name="jenis_kelamin" value="wanita" id="sex2" <?php if (strcmp($biodata['JENIS_KELAMIN'], "wanita") == 0) echo "checked" ?>/> 
					<label for="sex2"> Perempuan </label>
					</td>
				</tr>
				<tr>
					<td><label class="tok">Tempat Lahir</label>
					<input type="text"  class="huh" value="<?php $this->users->print_data($biodata['TEMPAT_LAHIR']); ?>" name="tempat_lahir"/>
					</td>
				</tr>
				<tr>
					<td><label class="tok">Tanggal Lahir</label>
					<select class="huh" name="date">
                                        <?php if ( (empty($biodata['date'])) || (strcmp($biodata['JENIS_KELAMIN'], "-"))) echo "<option value='-1'>-</option>";?>
                                        <?php echo generate_options(1, 31, $biodata['date'] - 0); ?>
					</select>
					<select class="huh" name="month">
				<?php if ( (empty($biodata['month'])) || (strcmp($biodata['JENIS_KELAMIN'], "-"))) echo "<option value='-1'>-</option>";?>
				<?php echo generate_options(1, 12, $biodata['month'] - 0, 'callback_month'); ?>
					</select>
					<select class="huh" name="year">
				<?php if ( (empty($biodata['year'])) || (strcmp($biodata['JENIS_KELAMIN'], "-") )) echo "<option value='-1'>-</option>";?>
				<?php echo generate_options(2011, 1900, $biodata['year'] - 0) ?>
					</select>
					</td>
				</tr>
				<tr>
					<td><label class="tok">Pekerjaan</label>
					<input type="text" class="huh" value="<?php $this->users->print_data($biodata['PEKERJAAN']); ?>" name="pekerjaan"/>
					</td>
				</tr>
				<tr>
					<td><label class="tok">Asal Institusi</label>
					<input type="text" class="huh hoh" name="asal_instansi" value="<?php $this->users->print_data($biodata['ASAL_INSTANSI']); ?>"/>
					</td>
				</tr>
				<tr>
					<td><label class="tok">Alamat Tinggal</label>
					<textarea class="huh area" name="alamat" id="area2"><?php $this->users->print_data($biodata['ALAMAT']); ?></textarea>
					</td>
				</tr>
				<tr>
					<td><input type="submit" name="button" value="Save" id="cimpen"/>
					</td>
				</tr>
			</table>
			<?php echo form_close()?>
		<div class="clear"></div>
	</div>
</div>